package com.hopes.bizz.risk.parkgis.vo;

import com.hopes.boss.admin.api.resolver.DictResolver;
import com.hopes.boss.admin.api.resolver.enums.AdminDictEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 隐患级别 VO
 * @time 2023/11/13 15:02
 */
@Data
public class HidLevelVO implements Serializable {

    private static final long serialVersionUID = 1861803566804345349L;

    /**
     * 企业
     */
    private Long orgId;

    /**
     * 隐患级别
     */
    private List<OrgHidVO> hidLevelList;

    private String getOrgIdStr() {
        return DictResolver.getItemLabelByValue(AdminDictEnum.sys_company, this.getOrgId());
    }

}
